package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-03-06
 */
public class InspectFinishedProduct extends Model<InspectFinishedProduct> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("TASK_ID")
   private String taskId;
   @TableField("INSPECTION_BATCH")
   private String inspectionBatch;
   @TableField("PRODUCT")
   private String product;
   @TableField("PRODUCT_DESC")
   private String productDesc;
   @TableField("INVENTORY")
   private String inventory;
   @TableField("CHECK_RESULT")
   private String checkResult;
   @TableField("NC_CODE")
   private String ncCode;
   @TableField("INSPECTION_START_TIME")
   private Date inspectionStartTime;
   @TableField("INSPECTION_END_TIME")
   private Date inspectionEndTime;
   @TableField("INSPECTOR")
   private String inspector;
   @TableField("OPERATION")
   private String operation;
   @TableField("CREATED_USER")
   private String createdUser;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("UPDATED_USER")
   private String updatedUser;
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getTaskId() {
      return taskId;
   }

   public void setTaskId(String taskId) {
      this.taskId = taskId;
   }

   public String getInspectionBatch() {
      return inspectionBatch;
   }

   public void setInspectionBatch(String inspectionBatch) {
      this.inspectionBatch = inspectionBatch;
   }

   public String getProduct() {
      return product;
   }

   public void setProduct(String product) {
      this.product = product;
   }

   public String getProductDesc() {
      return productDesc;
   }

   public void setProductDesc(String productDesc) {
      this.productDesc = productDesc;
   }

   public String getInventory() {
      return inventory;
   }

   public void setInventory(String inventory) {
      this.inventory = inventory;
   }

   public String getCheckResult() {
      return checkResult;
   }

   public void setCheckResult(String checkResult) {
      this.checkResult = checkResult;
   }

   public String getNcCode() {
      return ncCode;
   }

   public void setNcCode(String ncCode) {
      this.ncCode = ncCode;
   }

   public Date getInspectionStartTime() {
      return inspectionStartTime;
   }

   public void setInspectionStartTime(Date inspectionStartTime) {
      this.inspectionStartTime = inspectionStartTime;
   }

   public Date getInspectionEndTime() {
      return inspectionEndTime;
   }

   public void setInspectionEndTime(Date inspectionEndTime) {
      this.inspectionEndTime = inspectionEndTime;
   }

   public String getInspector() {
      return inspector;
   }

   public void setInspector(String inspector) {
      this.inspector = inspector;
   }

   public String getOperation() {
      return operation;
   }

   public void setOperation(String operation) {
      this.operation = operation;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String TASK_ID = "TASK_ID";

   public static final String INSPECTION_BATCH = "INSPECTION_BATCH";

   public static final String PRODUCT = "PRODUCT";

   public static final String PRODUCT_DESC = "PRODUCT_DESC";

   public static final String INVENTORY = "INVENTORY";

   public static final String CHECK_RESULT = "CHECK_RESULT";

   public static final String NC_CODE = "NC_CODE";

   public static final String INSPECTION_START_TIME = "INSPECTION_START_TIME";

   public static final String INSPECTION_END_TIME = "INSPECTION_END_TIME";

   public static final String INSPECTOR = "INSPECTOR";

   public static final String OPERATION = "OPERATION";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectFinishedProduct{" +
         "handle = " + handle +
         ", site = " + site +
         ", taskId = " + taskId +
         ", inspectionBatch = " + inspectionBatch +
         ", product = " + product +
         ", productDesc = " + productDesc +
         ", inventory = " + inventory +
         ", checkResult = " + checkResult +
         ", ncCode = " + ncCode +
         ", inspectionStartTime = " + inspectionStartTime +
         ", inspectionEndTime = " + inspectionEndTime +
         ", inspector = " + inspector +
         ", operation = " + operation +
         ", createdUser = " + createdUser +
         ", createdDateTime = " + createdDateTime +
         ", updatedUser = " + updatedUser +
         ", updatedDateTime = " + updatedDateTime +
         "}";
   }
}